{include file="public/header" select="2" /}
<body>

<div class="title bgc">
    <i class="layui-icon layui-icon-left" onclick="goBack()"></i>
    注册
</div>
<form action="{:url('register/save')}" method="post" class="form">
    <div class="bgc login-news register-news">
        <ul class="register">
            <li>
                <p>会员编号</p><input type="text" name="code" placeholder="请填写会员编号">
            </li>
            <li>
                <p>姓名</p><input type="text" name="nickname" placeholder="请填写姓名">
            </li>
            <li>
                <p>手机号</p><input type="number" name="mobile" placeholder="请填写手机号">
            </li>
            <li>
                <p>验证码</p>
                <input type="text" placeholder="验证码随便输">
                <span class="code">获取验证码</span>
                <span class="test">60</span>
            </li>
            <li>
                <p>推荐人</p>
                <input type="text" name="parent_code" placeholder="请填写推荐人">
            </li>
            <li>
                <p>登录密码</p>
                <input type="password" name="password" class="psd" placeholder="请填写登录密码">
            </li>
            <li>
                <p>确认登录密码</p>
                <input type="password" name="password_confirm" class="psd" placeholder="请确认登录密码">
            </li>
            <li>
                <p>支付密码</p>
                <input type="password" name="pay_password" class="psd" placeholder="请填写支付密码">
            </li>
            <li>
                <p>确认支付密码</p>
                <input type="password" name="pay_password_confirm" class="psd" placeholder="请确认支付密码">
            </li>
        </ul>
        <div class="login-hint register-hint">
            <p></p>
            <p>已有账号，<a href="{:url('login/index')}">去登录</a></p>
        </div>
        <div class="pay-btn register-btn">
            <a href="javascript:;" lay-submit lay-filter="save" formObj=".form">注册</a>
        </div>
        <p class="register-deal">
            <input type="checkbox" name="agree" lay-skin="primary" value="1" checked>
            <span style="margin-left: 5px">同意协议</span>
            <a href="{:url('index/communal')}?type=register_msg">《{:cache('system')['web_site_title']}注册协议》</a>
        </p>
    </div>
</form>

</body>
{include file="public/footer" select="0" /}

<script>

    $('.code').click(function () {
        layer.msg('验证码随便输，没验证');
    })
</script>
</html>